package com.ruoyi.rocky.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;


import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("pc_order")
@ApiModel(value = "PcOrder", description = "订单表")
@AllArgsConstructor
public class PcSysNotice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 公告ID
     */
    @ApiModelProperty(value = "公告id")
    @TableField(value = "notice_id")
    private Long noticeId;

    /**
     * 公告标题
     */
    @ApiModelProperty(value = "公告标题")
    @TableField(value = "notice_title")
    private String noticeTitle;

    /**
     * 公告类型（1全平台通知 2车辆公告 3门店通知 4个人通知）
     */
    @ApiModelProperty(value = "公告类型  1=全平台通知,2=车辆公告,3=门店通知,4=个人通知")
    @TableField(value = "order_id")
    private String noticeType;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容")
    @TableField(value = "notice_content")
    private String noticeContent;

    /**
     * 公告状态（0正常 1关闭）
     */
    @ApiModelProperty(value = "公告状态  0正常 1删除")
    @TableField(value = "status")
    private String status;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user")
    private Integer createUser;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    @TableField(value = "update_user")
    private Integer updateUser;

    /**
     * 创建时间
     *//*
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    *//**
     * 修改时间
     *//*
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "update_time")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;*/


}